package example.workshop1.lesson12;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import javax.inject.Named;

@Named
@Qualifier("CBF")
public class ContentBasedFilter implements Filter {

    public String[] getRecommendations(String movie){
        //
        //返回电影推荐
        return new String[]{"Happy Feet","Ice Age","Shark Tale"};
    }
}
